Foxit PDF SDK
FoxitPDFSDKPython3.PageTextLinks类 参考
类 FoxitPDFSDKPython3.PageTextLinks 继承关系图:
FoxitPDFSDKPython3.Base

Public 成员函数

def PageTextLinks (other)
 用另一个 PageTextLinks 对象的构造函数。
更多...
 
def GetTextLink (index)
 通过索引获取文本链接对象。
更多...
 
def GetTextLinkCount ()
 获取相关PDF页面中URL格式文本的数量。
更多...
 
def IsEmpty ()
 检查当前对象是否为空。
更多...
 

详细描述

在PDF页面中,某些文本内容可能表示到网站或互联网上资源的超文本链接, 或电子邮件地址。类 PageTextLinks 用于将这些类型的文本内容作为文本链接进行管理。

构造及析构函数说明

◆ PageTextLinks()

def FoxitPDFSDKPython3.PageTextLinks.PageTextLinks (   other)

用另一个 PageTextLinks 对象的构造函数。

参数
[in]other另一个 PageTextLinks 对象。

成员函数说明

◆ GetTextLink()

def FoxitPDFSDKPython3.PageTextLinks.GetTextLink (   index)

通过索引获取文本链接对象。

参数
[in]index文本链接对象的索引。有效范围:从0到(count-1)。 count 由函数 FoxitPDFSDKPython3.PageTextLinks.GetTextLinkCount 返回。
返回
指定的文本链接对象。

◆ GetTextLinkCount()

def FoxitPDFSDKPython3.PageTextLinks.GetTextLinkCount ( )

获取相关PDF页面中URL格式文本的数量。

返回
文本链接的数量,如果返回-1表示构造时出错。

◆ IsEmpty()

def FoxitPDFSDKPython3.PageTextLinks.IsEmpty ( )

检查当前对象是否为空。

当前对象为空时,意味着当前对象无用。

返回
true 表示当前对象为空,false 表示不为空。